package com.example.generator.properties;

import com.baomidou.mybatisplus.generator.config.*;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;
import org.springframework.stereotype.Component;

@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "code-generator")
public class CodeGeneratorProperties {

    @NestedConfigurationProperty
    private DataSourceConfig dataSourceConfig;

    private GlobalConfig globalConfig;

    private PackageConfig packageConfig;

    private StrategyConfig strategyConfig;

    private InjectionConfig injectionConfig;

}
